package com.symone.webcms.service;

import com.symone.webcms.model.Form;
import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import java.util.List;
/**
 *   @description : Form 服务接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-03-31
 */
public interface FormService extends IService<Form> {

        boolean insert(Form form);

        Page<Form> findPage(Page<Form> page, Wrapper<Form> form);

        List<Form> findAll();

        int delete(long id);

        boolean deleteFlagById(long id);

        int clear();

}
